-
Notifications
You must be signed in to change notification settings - Fork 2
Format library #18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Format library #18
Conversation
Clang formatter in VS Code set to Microsoft style
Clang formatter in VS Code set to Microsoft style
Also, are the file names and directory structure okay? If we're going to change those, would probably be best to do that as part of this PR. And any other house-cleaning things like that, really. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good. The only thing to tweak is the class names - see comment I left.
u-blox is preferred. |
Many command and response arrays are fixed length, so no need to use calloc. This helps prevent the heap from getting fragmented.
clang with Microsoft style
@gigapod @PaulZC Changes pushed. Also decided to address #12 in this PR, and I removed a bunch of calls to Please take a look and let me know what you think! If all is okay, I'd like to get the first release out this week if possible. There's still a couple open issues, but it should at least be totally useable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good - just one very minor comment/nit.
Will resolve #9
I have not yet changed any names, just ran the files through a formatter. @gigapod, you mentioned wanting to change some names away from snake case. I'm also not sold on all the names I chose. Do you have any suggestions?